export const attrPage = {
    data() {
        return {
            attributeListPage: [],
        };
    },
    methods: {
        addAttribute(obj) {
            this.attributeListPage.push(obj);
        },
        updateList(data) {
            this.attributeListPage = data;
        },
        delAttribute(i) {
            this.attributeListPage = this.attributeListPage.filter(
                (v, index) => index != i
            );
        },
    },
};